<?php include atemplate('header');?>

<table width="96%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" align="left" bgcolor="#B51C00"> 　<span class="STYLE8">发布图片</span></td>
    <td width="100" align="center" bgcolor="#B51C00"></td>
  </tr>
</table>
<form action="/admin/index.php?do=image&ac=add" method="post" enctype="multipart/form-data">
  <table width="96%" border="0" cellspacing="0" cellpadding="0">
    <tr bgcolor="#FFFFF7">
      <td align="center" valign="middle" class="STYLE7">图片标题</td>
      <td height="40" align="left" ><input name="title" type="text" style="height:25px" size="40" value="<?php echo $info['title'];?>"/></td>
    </tr>
    <tr bgcolor="#FAFAFA">
      <td width="100" align="center" valign="middle" class="STYLE7">所属分类</td>
      <td height="40" align="left" ><select name="classid" id="classid">
          <option>请选择</option>
          <?php echo $options;?>
        </select></td>
    </tr>
    <tr bgcolor="#FFFFF7">
      <td align="center" valign="middle" class="STYLE7">上传图片</td>
      <td height="40" align="left" ><?php echo $image;?><input type="file"  name="url"/></td>
    </tr>
    <tr bgcolor="#FAFAFA">
      <td align="center" valign="middle" class="STYLE7">&nbsp;</td>
      <td height="40" align="left" ><input type="submit" value="提交" />&nbsp;&nbsp;<input type="button" value="返回" onclick="history.go(-1);" /></td>
    </tr>
  </table>
  <input type="hidden" name="step" value="2" />
  <input type="hidden" name="id" value="<?php echo $info['id'];?>" />
</form>
<?php include atemplate('footer');?>
